<div class="ui-g-12 ui-widget-content tab-container-header"
    style="height:calc(100% - 40px);border:none;padding:5px 0 0 0;">
    <p-tabView (onChange)="onDetailTabChange($event)">
        <!-- 基本信息 -->
        <p-tabPanel header="基本信息" leftIcon="fa fa-calendar">
            <div class="button-item">
                <!--  Menu Group -->
                <tasklist-menu [selectedRecord]="selectedRecord" [parentObj]="self" [parentCallback]="callback">
                </tasklist-menu>
                <button pButton type="text" class="ui-button-info" icon="fa fa-angle-left" label="返回"
                    (click)="goBack()"></button>
                <button *ngIf="mode==0" pButton type="text" class="ui-button-success" icon="fa fa-save" label="保存"
                    (click)="save()"></button>
            </div>
            <fb-dynamic-form [mode]="2"></fb-dynamic-form>
        </p-tabPanel>
        <!-- 配置项 -->
        <ng-container *ngIf="actId > 0">
            <p-tabPanel [header]="tab.tabName" [leftIcon]="tab.tabIcon" *ngFor="let tab of tabs; let i = index" >
            </p-tabPanel>
        </ng-container>
    </p-tabView>
</div>
<ng-template dynamic-anchors></ng-template>